-
I have next component: const [username, setUsername] = useState(”); const [password, setPassword] = useState(”); const handleUserKeyPress = useCallback((event) => { …
- 455 views
- 1 answers
- 0 votes
-
The useEventListener hook and the useKeyPress seem to have a slightly different implementation, but I’m trying to figure out which …
- 369 views
- 2 answers
- 0 votes
-
- 356 views
- 1 answers
- 0 votes
-
- 367 views
- 2 answers
- 0 votes
-
I am trying to make a star rating component. I am using ternary operators to check if a state is …
- 366 views
- 4 answers
- 0 votes
-
I have a json from an API like this "data": { "total_question": 2, "correct_answer": "1/2", "correct_percentage": 50, "details": [ { …
- 363 views
- 2 answers
- 0 votes
-
I’m trying to implement a POC for a horizontally scrollable section on a project. I have 3 h3s next to …
- 367 views
- 2 answers
- 0 votes
-
I implemented a useFtech hook, which looks like this import { useState, useEffect} from ‘react’ const useFetch = (url) => …
- 330 views
- 0 answers
- 0 votes